
enum Task {scanTime,checkStatus,  inventory, inventoryState ,cmd,door, readBlock, readBlockData, light, lightLamp, lightState, voice, restart,checkScreenOff,checkScreenOn,downloadUrl,update,alarm,volume,h5,ad}


class CurrentTaskEntity{

  Map<dynamic,dynamic> uuids = {};
  Map<dynamic,dynamic> tradeNos = {};
  Map<dynamic,dynamic> remarks = {};
  List<String> urls = [];
  String updateVersion = '';

  // 静态变量
  static final CurrentTaskEntity _singleton = CurrentTaskEntity._internal();

  // 工厂方法
  factory CurrentTaskEntity() {
    return _singleton;
  }

  // 私有构造函数
  CurrentTaskEntity._internal();


  void clear(){
    uuids.clear();
    tradeNos.clear();
  }


}